$OpenBSD: patch-Makefile,v 1.4 2015/01/13 11:15:04 sthen Exp $
--- Makefile.orig	Tue Feb 11 21:06:01 2014
+++ Makefile	Mon Jan 12 23:29:39 2015
@@ -7,43 +7,23 @@ USELIBCAP=	# Use libcap?
 COV_TEST= 	# Perform test coverage?
 PREFIX=/usr/local
 
-MAN=sslh.8.gz	# man page name
+MAN=sslh.8	# man page name
 
 # End of configuration -- the rest should take care of
 # itself
 
-ifneq ($(strip $(COV_TEST)),)
-    CFLAGS_COV=-fprofile-arcs -ftest-coverage
-endif
-
 CC ?= gcc
 CFLAGS ?=-Wall -g $(CFLAGS_COV)
 
 LIBS=
 OBJS=common.o sslh-main.o probe.o
 
-ifneq ($(strip $(USELIBWRAP)),)
-	LIBS:=$(LIBS) -lwrap
-	CPPFLAGS+=-DLIBWRAP
-endif
-
-ifneq ($(strip $(USELIBCONFIG)),)
-	LIBS:=$(LIBS) -lconfig
-	CPPFLAGS+=-DLIBCONFIG
-endif
-
-ifneq ($(strip $(USELIBCAP)),)
-	LIBS:=$(LIBS) -lcap
-	CPPFLAGS+=-DLIBCAP
-endif
-
 all: sslh $(MAN) echosrv
 
 .c.o: *.h
 	$(CC) $(CFLAGS) $(CPPFLAGS) -c $<
 
 version.h:
-	./genver.sh >version.h
 
 sslh: sslh-fork sslh-select
 
@@ -59,7 +39,7 @@ echosrv: $(OBJS) echosrv.o
 	$(CC) $(CFLAGS) $(LDFLAGS) -o echosrv echosrv.o probe.o common.o $(LIBS)
 
 $(MAN): sslh.pod Makefile
-	pod2man --section=8 --release=$(VERSION) --center=" " sslh.pod | gzip -9 - > $(MAN)
+	pod2man --section=8 --release=$(VERSION) --center=" " sslh.pod > $(MAN)
 
 # Create release: export clean tree and tag current
 # configuration
